<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>仓库_出入汇总情况</title>
<style type="text/css">
h3{background:#ccc;padding-left:12px;}
.tab_b{border-left:1px solid #8CCD8C;border-top:1px solid #8CCD8C;border-collapse: collapse;font-size:14px;width:800px;text-align:left}
.tab_b td,.tab_b th{border-bottom:1px solid #8CCD8C;border-right:1px solid #8CCD8C;padding-left:10px;line-height:21px;}

</style>
</head>
<body>
<h3 align="center">${s.timeFrom} 至 ${s.timeTo} 仓库_${s.type==1?"成品":"原料"}出入汇总</h3>
<p align="center"><a href="${pageContext.request.contextPath}/report?_method=excelStorageProSummary&type=${s.type}&timeFrom=${s.timeFrom}&timeTo=${s.timeTo}&fileName=${s.type==1?'chengpin':'yuanliao'}"><font color="blue">导出 - 仓库 - ${s.type==1?"成品":"原料"} - 出入汇总</font></a></p>
<table class="tab_b" align="center">
<thead>
<th>${s.type==1?"成品":"原料"}ID</th>
<th>${s.type==1?"成品":"原料"}名称</th>
<th>规格</th>
<th>期初数量</th>
<th>入库数量</th>
<th>出库数量</th>
<th>期末余额</th>
</thead>
<c:if test="${!empty products}">
<c:forEach items="${products}" var="pro">
<tr>
<td>${pro["productid"]}</td>
<td>${pro["pname"]}</td>
<td>${pro["standard"]}</td>
<td>${pro["beginNum"]}</td>
<td>${pro["inputNum"]}</td>
<td>${pro["outputNum"]}</td>
<td>${pro["tNum"]}</td>
</tr>
</c:forEach>
</c:if>
</table>
</body>
</html>
